// PageInterface.cpp : implementation file
//

#include "stdafx.h"
#include "greenftp.h"
#include "PageInterface.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPageInterface property page

IMPLEMENT_DYNCREATE(CPageInterface, CPropertyPage)

CPageInterface::CPageInterface() : CPropertyPage(CPageInterface::IDD)
{
	//{{AFX_DATA_INIT(CPageInterface)
	m_autoStartQueue = m_pFtpConfig->m_autoStartQueue;
	m_min2Systray = m_pFtpConfig->m_min2Systray;
	m_popWelcomeMsg = m_pFtpConfig->m_popWelcomeMsg;
	m_showLogTime = m_pFtpConfig->m_showLogTime;
	//}}AFX_DATA_INIT
}

CPageInterface::~CPageInterface()
{
}

void CPageInterface::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPageInterface)
	DDX_Check(pDX, IDC_AUTOSTARTQUEUE, m_autoStartQueue);
	DDX_Check(pDX, IDC_MIN2SYSTRAY, m_min2Systray);
	DDX_Check(pDX, IDC_POPWELCOMEMSG, m_popWelcomeMsg);
	DDX_Check(pDX, IDC_SHOWLOGTIME, m_showLogTime);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPageInterface, CPropertyPage)
	//{{AFX_MSG_MAP(CPageInterface)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPageInterface message handlers
